<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<table class="display" id="example1">
    <thead>
    <tr>
        <th>姓名</th>
        <th>部门</th>
        <th>岗位</th>
        <th>状态</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <s:if test="#request.examQuanScoreDetails==null || #request.examQuanScoreDetails.size==0">
        <tr class="gradeA"> <td colspan="5">暂无数据</td> </tr>
    </s:if>
    <s:else>
        <s:iterator value="#request.examQuanScoreDetails" var="eqsd" status="sta">
            <s:if test="#sta.even"> <tr class="gradeA"> </s:if> <s:else><tr class="gradeC"></s:else>
            <td>${eqsd.employeeinfoWork.baseId.name}</td> <td>${eqsd.employeeinfoWork.organization.fullName}</td>
            <td>${eqsd.employeeinfoWork.duty.dutyName}</td>
            <td><s:if test="#request.eqsd.status.toString()=='wait_audit' and #request.eqsd.rejectTimes > 0">审核未通过</s:if><s:else>${eqsd.status.name}</s:else></td>
            <td><a class="button" href="#exam/quan_audit_detail.xhtml?&status=${eqsd.status}&work.id=${eqsd.employeeinfoWork.id}&examPeriodStr=${examPeriodStr}&examPeriodEnum=${examPeriodEnum}&<%=new java.util.Date().getTime()%>">
                <span style="background:url(${ctx}/images/img/chart_curve_add.png)" class="icon">&nbsp;</span>${eqsd.score}</a>
            </td>
        </tr>
        </s:iterator>
    </s:else>
    </tbody>
</table>
<p><%@ include file="/WEB-INF/pages/exam/exam_score_pager.jsp"%></p>
<s:if test="#request.status.toString() == 'within_audit'">
    <input value="${dataTotal}" id="un_audit_total" type="hidden"/>
</s:if>
<s:else>
    <input value="${dataTotal}" id="has_audit_total" type="hidden"/>
</s:else>
